package com.lz.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**征信数据表
 * @author 徐建林
 * @date 2018/10/21 14:04
 */
@Table
@Entity
@Data
public class Credit implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -2113888556852269591L;
	@Id
    @GeneratedValue(generator = "native")
    @GenericGenerator(name = "native",strategy = "native")
    /**征信编码*/
    private Integer creditId;
    /**是否逾期*/
    private String overdueInfo;
    /**逾期时间*/
    private Integer overdueDays;
    /**办理信用卡次数*/
    private Integer applyTimes;
    /**通过次数*/
    private Integer passTimes;
}
